﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Model
{
    public class work//申请加班
    {
        [Key]
        public int WID { get; set; }//编号
        public string WName { get; set; }//申请名称
        public string SName { get; set; }//申请人
        public int Depar_ID { get; set; }//申请人部门

        public string remarks { get; set; }//备注
        public int Job_ID { get; set; }//审批人
        [ForeignKey("Job_ID")]
        public virtual Position Position { get; set; }
        public DateTime EstimatedOvertime { get; set; }//申请日期
        public string ActualOvertime { get; set; }//加班时间
        public int Aid { get; set; }//状态
        [ForeignKey("Aid")]
        public virtual Astate Astate { get; set; }
    }
}
